package com.cgs.query.domain

import io.swagger.annotations.ApiModelProperty
import java.util.*
import javax.persistence.Column
import javax.persistence.MappedSuperclass

@MappedSuperclass
open class BaseDomain {

    @Column
    @ApiModelProperty("用户ID")
    var userId: String? = ""
    @Column
    @ApiModelProperty("创建时间")
    @org.hibernate.annotations.CreationTimestamp
    var creationTime: Date? = Date()
    @Column
    @ApiModelProperty("修改时间")
    @org.hibernate.annotations.UpdateTimestamp
    var updateTime: Date? = Date()
    @Column(length = 200)
    @ApiModelProperty("备注")
    var remark: String? = ""
}